<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="imagetoolbar" content="no"/>
    <link rel="stylesheet" href="resources/css/common.css" media="all"/>
    <script src="libs/jquery.min.js"></script>
    <link href="libs/artDialog/skins/default.css" rel="stylesheet" />
    <script src="libs/artDialog/artDialog.js"></script>
    <script src="libs/artDialog/plugins/iframeTools.js"></script>
<style>
p{
line-height:150%;
text-indent:4em;
}
</style>
</head>
<body >
	<br/>
	<div class="fm-item" style="margin-top:20px;padding-left:140px">
		<label for="settlepsd" class="fm-label">结算密码</label>
		<input type="password" id="settlepsd" class="required" style="width:200px;height:25px"/>
		<div class="fm-explain" id="settlepsd-tip"></div>
	</div>
	<div class="fm-item" style="padding-left:110px">
   	<span class="btn btn-ok">
        <input type="button" value="提交" id="verify"/>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;
    <span class="btn btn-ok">
        <input type="button" value="取消" onclick="javascript:art.dialog.close()"/>
    </span>
	</div>
	<p>结算费：暂免</p>
	<p>建议您累积一定资金之后再结算</p>
<script type="text/javascript">
$("#verify").click(function(){
	$. post("/settle.htm",{
		'settlepwd':$("#settlepsd").val()
	},function(data){
		if(data == "success"){
		    alert("提交成功！");
		    art.dialog.top.location.href ="/settlesuc.htm";
		}else{
			$("#settlepsd-tip").empty();
			$("#settlepsd-tip").append("<span class='formtips onError' style='color:red'>"+data+"</span>");
		}
	});
});
</script>
</body>
</html>